<template>
  <div class="">

    <h1>品牌管理列表</h1>
    <el-button type="primary" size="default" @click="goAddBrand">添加品牌</el-button>
    <EditorBrand ref="editBrand" @refrush="getBrandList" />
  </div>
</template>

<script>
import EditorBrand from './Detail'
export default {
  components: {
    EditorBrand
  },
  data() {
    return {

    }
  },
  computed: {

  },
  created() {

  },
  mounted() {

  },
  methods: {
    goAddBrand() {
      // 打开弹窗
      this.$refs.editBrand.openDialog()
    },
    // 获取数据列表
    getBrandList() {
      console.log('列表更新...')
    }

  }
}
</script>

<style scoped lang="scss">

</style>
